﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;

namespace ZLWeb.WebApiEntity.WechatCardModel
{
    public class Result
    {
        /// <summary>
        ///  支付结果： 1-成功 2-失败/未知
        /// </summary>
        public short result { get; set; }

        /// <summary>
        ///  支付结果说明
        /// </summary>
        public string resultsm { get; set; }

        /// <summary>
        ///  CRM操作记录流水号（为空表示操作失败）
        /// </summary>
        public string oprsno { get; set; }

    }

    public class ResultMapper : ClassMapper<Result>
    {
        public ResultMapper()
        {
            Table("#result");
            Map(f => f.result).Column("result");
            Map(f => f.resultsm).Column("resultsm");
            Map(f => f.oprsno).Column("oprsno");
        }
    }
}
